
package com.hlkj.pay.service.finance;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.framework.common.pojo.PageResult;
import com.hlkj.pay.dto.finance.MerchantFinanceChargePageQueryDto;
import com.hlkj.pay.infrastructure.model.finance.MerchantFinanceChargeDO;

/**
 * @author HlpayTeam
 * @date 2024/11/14 16:00
 */
public interface IMerchantFinanceChargeService {

    /**
     * 
     * @param merchantFinanceChargePageQueryDto
     * @return
     */
    PageResult<MerchantFinanceChargeDO> queryPage(MerchantFinanceChargePageQueryDto merchantFinanceChargePageQueryDto);

    /**
     * 
     * @param merchantFinanceChargeDO
     */
    void addFinanceCharge(MerchantFinanceChargeDO merchantFinanceChargeDO);
    /**
     *
     * @param mchOrderNo
     * @return
     */
    MerchantFinanceChargeDO queryCharge(String mchOrderNo);
    /**
     *
     * @param id
     * @param state
     */
    void updateCharge(Long id, Integer state);
}
